export const colorMap=new Map<string,any>([[
    'default', {
        color:[
            '#96acf9',
            '#FCBBAB',
            '#4F85C3',
            '#F25E55',
            '#46d641'
        ],
        textColor:'#ffffff',
        borderColor:'#ffffff',
        shadowColor: 'rgba(127,202,220,0.86)',
        iconColor:[
            '#96acf9',
            '#2450f3',
            '#0a2175'
        ],
    }],[
    'light-blue', {
        color:[
            '#96acf9',
            '#FCBBAB',
            '#4F85C3',
            '#F25E55',
            '#46d641'
        ],
        textColor:'#ffffff',
        borderColor:'#ffffff',
        shadowColor: 'rgba(127,202,220,0.86)',
        iconColor:[
            '#96acf9',
            '#2450f3',
            '#0a2175'
        ],
    }]
])
export const getColorFromLocal=()=>{
    let style=localStorage.getItem("style")
    let cmap
    if(style===null){
        cmap=colorMap.get("default")
    }else{
        cmap=colorMap.get(style)
    }
    return cmap
}
